package com.smarth.zhizulian.http.observer;

import android.content.Context;

import com.smarth.zhizulian.http.observer.inter.IRefreshObserver;
import com.smarth.zhizulian.utils.listhelper.inter.ResponseSender;

/**
 * Created by 18865 on 2018/1/16.
 */

public class PageObserver<T> extends IRefreshObserver<T> {
    public PageObserver(Context context, ResponseSender responseSender) {
        super(context, responseSender);
    }

    @Override
    public void onNext(T t) {
        super.onNext(t);
        mResponseSender.sendData(t);
    }
}
